﻿<%@ Page Title="" Language="C#" MasterPageFile="~/manageback.master" AutoEventWireup="true" CodeFile="Product_update.aspx.cs" Inherits="manage_Product_update" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
        .style1
        {
            width: 99%;
            height: 693px;
            float:right;
        }
        .style2
        {
            height: 25px;
        }
        .style3
        {
            width: 142px;
        }
        .style4
        {
            height: 25px;
            width: 142px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="style1">
        <tr>
            <td colspan="2">
                商品详细信息</td>
        </tr>
        <tr>
            <td class="style3">
                商品名称：</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            </td>
        </tr>
        
        <tr>
            <td class="style4">
                所属类别：</td>
            <td class="style2">
                <asp:DropDownList ID="DropDownList1" runat="server" 
                    DataSourceID="LinqDataSource1" DataTextField="ClassName" 
                    DataValueField="ClassID">
                </asp:DropDownList>
                <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
                    ContextTypeName="DataClassesDataContext" EntityTypeName="" 
                    Select="new (ClassID, ClassName)" TableName="tb_Class">
                </asp:LinqDataSource>
            </td>
        </tr>
        <tr>
            <td class="style3">
                商品图片：</td>
            <td>
                <asp:FileUpload ID="FileUpload1" runat="server" />
                <br />
            </td>
        </tr>
        <tr>
            <td class="style3">
                商品单价：</td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style3">
                是否推荐：</td>
            <td>
                <asp:CheckBox ID="CheckBox1" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="style3">
                是否热销：</td>
            <td>
                <asp:CheckBox ID="CheckBox2" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="style3">
                是否参与打折：</td>
            <td>
                <asp:CheckBox ID="CheckBox3" runat="server" />
            </td>
        </tr>
        
        <tr>
            <td class="style3">
                商品简介：</td>
            <td>
                <asp:TextBox ID="TextBox3" runat="server" Height="65px" TextMode="MultiLine" 
                    Width="100%"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style3">
                &nbsp;</td>
            <td>
                <asp:Button ID="Button1" runat="server" Text="修改" onclick="Button1_Click" />
            </td>
        </tr>
    </table>
</asp:Content>

